package cn.iocoder.yudao.module.book.controller.app.voice.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "小程序前台 - 录音分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppVoicePageReqVO extends PageParam {

//    @Schema(description = "录音id", example = "15926")
//    private Integer voiceId;
//
//    @Schema(description = "用户id", example = "21014")
//    private Integer userId;
//
//    @Schema(description = "绘本id", example = "13762")
//    private Integer bookId;

    @Schema(description = "绘本音频", example = "https://www.iocoder.cn")
    private String audioUrl;

    @Schema(description = "录音音频", example = "https://www.iocoder.cn")
    private String readingUrl;

    @Schema(description = "评分")
    private Integer score;

    @Schema(description = "记录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}